package com.java502.shirodemo502.dao;


import com.java502.shirodemo502.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author:Teacher黄
 * @date:Created at 2019/07/29
 */
@Mapper
public interface RoleMapper {


    /**
     * 通过id来查询
     * @param roleId
     * @return
     */
    Role findById(@Param("roleId") Integer roleId);




}
